# -*- coding: utf-8 -*-
# @Author: QX
# @File: ReadYaml.py
'''
pip install PyYaml
'''
import yaml
def read_yaml(filepath):
    with open(filepath,'r')  as f :
       yaml_data = yaml.safe_load(f)
    return(yaml_data)

if __name__ == '__main__':
    #filepath = r'D:\appreadhome\examples\yaml_case\loginlist.yaml'
    filepath = r'D:\appreadhome\examples\yaml_case_plat\1_loupe_search.yaml'
    print(read_yaml(filepath))


